﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Konstaller
{
    public class Window
    {

        public void initialize(int Width, int Height)
        {
            Console.BackgroundColor = ConsoleColor.Blue;
            Console.SetWindowSize(Width, Height);
            //Console.SetBufferSize(Width, Height);
            w = Width;
            h = Height;

            Console.CursorVisible = false;
            Render();

        }



        private int w, h;


        private void Render()
        {
            //Draw Background
            for (int j = 0; j < h; j++)
            {
                Console.Write("");
                for (int i = 0; i < w; i++)
                {
                    Console.Write(" ");
                }
            }
            //-------------------------



            Console.SetCursorPosition(0, 0);
        }
    }
}
